package org.me.client;

public class FehlungDerVariable extends Exception {
	/**
	 *
	 */
	private static final long serialVersionUID = 1L;

	private boolean leereVariable = false;

	private final Variable variable;

	private final Variable[] variablen;

	FehlungDerVariable(String message, Variable variable) {
		super(message);
		this.variable = variable;
		variablen=null;
		if (message == "Leere Variable") {
			leereVariable = true;
			initCause(new Throwable("leerer Variable: "
					+ this.variable.getName()));
		}
	}

	FehlungDerVariable(String message,Variable[] variablen){
		super(message);
		this.variable=null;
		this.variablen=variablen;
	}

	public Throwable getCause() {
		return super.getCause();
	}
}
